Package pl.wendigo.chrome.api.heapprofiler

Contains DevTools Protocol HeapProfiler domain implementation accessible via HeapProfilerDomain class.

Types

AddHeapSnapshotChunkEvent
Link copied to clipboard
data class AddHeapSnapshotChunkEvent(chunk: String) : Event
AddInspectedHeapObjectRequest
Link copied to clipboard
data class AddInspectedHeapObjectRequest(heapObjectId: HeapSnapshotObjectId)
Represents request frame that can be used with HeapProfiler#addInspectedHeapObject operation call.
GetHeapObjectIdRequest
Link copied to clipboard
data class GetHeapObjectIdRequest(objectId: RemoteObjectId)
Represents request frame that can be used with HeapProfiler#getHeapObjectId operation call.
GetHeapObjectIdResponse
Link copied to clipboard
data class GetHeapObjectIdResponse(heapSnapshotObjectId: HeapSnapshotObjectId)
Represents response frame that is returned from HeapProfiler#getHeapObjectId operation call.
GetObjectByHeapObjectIdRequest
Link copied to clipboard
data class GetObjectByHeapObjectIdRequest(objectId: HeapSnapshotObjectId, objectGroup: String?)
Represents request frame that can be used with HeapProfiler#getObjectByHeapObjectId operation call.
GetObjectByHeapObjectIdResponse
Link copied to clipboard
data class GetObjectByHeapObjectIdResponse(result: RemoteObject)
Represents response frame that is returned from HeapProfiler#getObjectByHeapObjectId operation call.
GetSamplingProfileResponse
Link copied to clipboard
data class GetSamplingProfileResponse(profile: SamplingHeapProfile)
Represents response frame that is returned from HeapProfiler#getSamplingProfile operation call.
HeapProfilerDomain
Link copied to clipboard
class HeapProfilerDomain : Domain
HeapProfilerDomain represents HeapProfiler protocol domain request/response operations and events that can be captured.
HeapSnapshotObjectId
Link copied to clipboard
typealias HeapSnapshotObjectId = String

Heap snapshot object id.

HeapStatsUpdateEvent
Link copied to clipboard
data class HeapStatsUpdateEvent(statsUpdate: List<Int>) : Event
If heap objects tracking has been started then backend may send update for one or more fragments
LastSeenObjectIdEvent
Link copied to clipboard
data class LastSeenObjectIdEvent(lastSeenObjectId: Int, timestamp: Double) : Event
If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp.
ReportHeapSnapshotProgressEvent
Link copied to clipboard
data class ReportHeapSnapshotProgressEvent(done: Int, total: Int, finished: Boolean?) : Event
SamplingHeapProfile
Link copied to clipboard
data class SamplingHeapProfile(head: SamplingHeapProfileNode, samples: List<SamplingHeapProfileSample>)
Sampling profile.
SamplingHeapProfileNode
Link copied to clipboard
data class SamplingHeapProfileNode(callFrame: CallFrame, selfSize: Double, id: Int, children: List<SamplingHeapProfileNode>)
Sampling Heap Profile node.
SamplingHeapProfileSample
Link copied to clipboard
data class SamplingHeapProfileSample(size: Double, nodeId: Int, ordinal: Double)
A single sample from a sampling profile.
StartSamplingRequest
Link copied to clipboard
data class StartSamplingRequest(samplingInterval: Double?)
Represents request frame that can be used with HeapProfiler#startSampling operation call.
StartTrackingHeapObjectsRequest
Link copied to clipboard
data class StartTrackingHeapObjectsRequest(trackAllocations: Boolean?)
Represents request frame that can be used with HeapProfiler#startTrackingHeapObjects operation call.
StopSamplingResponse
Link copied to clipboard
data class StopSamplingResponse(profile: SamplingHeapProfile)
Represents response frame that is returned from HeapProfiler#stopSampling operation call.
StopTrackingHeapObjectsRequest
Link copied to clipboard
data class StopTrackingHeapObjectsRequest(reportProgress: Boolean?, treatGlobalObjectsAsRoots: Boolean?)
Represents request frame that can be used with HeapProfiler#stopTrackingHeapObjects operation call.
TakeHeapSnapshotRequest
Link copied to clipboard
data class TakeHeapSnapshotRequest(reportProgress: Boolean?, treatGlobalObjectsAsRoots: Boolean?)
Represents request frame that can be used with HeapProfiler#takeHeapSnapshot operation call.